package chapter2.No2_1_synchronized同步方法.fSynchronized锁重入;

/**
 * !
 *
 * @author liujian
 * @version 2016/11/11 0011
 */
public class MyThread2 extends Thread {
    TestObject to;

    public MyThread2(TestObject to) {
        this.to = to;
    }

    @Override
    public void run() {
        to.service3();
    }

}
